package org.cainiao.notebook;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

@SpringBootApplication
@EnableWebSecurity
@EnableJpaRepositories("org.cainiao.notebook.dao.repository")
@EntityScan("org.cainiao.notebook.entity")
public class CNNotebookApplication {

    public static void main(String[] args) {
        new SpringApplication(CNNotebookApplication.class).run(args);
    }
}
